<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=0">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>充值成功</title>

    <!-- Bootstrap -->
    <link href="bootstrap-3.3.5-dist/css/bootstrap.css" rel="stylesheet">
    <link href="bootstrap-3.3.5-dist/css/recharge_success.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <img class="recharge_success_img" src="images/recharge_success.png" >
    <div class="content">
    <p class="bigger">恭喜，你已成功充值<span class="money">500</span>元</p>
    <p>可在我的钱包中查询钱包余额</p>
    <p><span class="money1">5</span>秒后返回首页</p>
    </div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-1.11.3.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
    <script type="text/javascript">  
    var time_total = 5;  
        function clock_time () {
          var elt = $(".money1");        
          if(time_total>0){
              time_total = time_total-1;
            var m = Math.floor(time_total/60);
            var s = time_total%60;
            elt.html(s);     
          }
          else{
            location.href='index.html';  
          }
        }
  setInterval("clock_time()",1000);
    </script> 
  </body>
</html>